<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../../org/angular.min.js"></script>
</head>

<body ng-app="app" ng-controller="ctrl">
    大小： <input type="text" ng-model="size" id=""> <br> 颜色： <input type="text" ng-model="color" id="">
    <div ng-style="{color:color,fontSize:size+'px'}">
        斯蒂芬库里
    </div>
    <script>
        var m = angular.module('app', []);
        m.controller('ctrl', ['$scope', function($scope) {
            $scope.name = '老周';
        }])
    </script>
</body>

</html>
